<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN" xml:lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link rel="stylesheet" type="text/css" href="style/css.css" />
<link rel="stylesheet" type="text/css" href="style/jctgrid.css" />
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="../jct.js"></script>
<script type="text/javascript" src="js/jctgrid.js"></script>
<title>jCTGrid</title>
</head>
<body>
<div id="jcttpl" style="display:none;">
<!---// sets,rows-->
<div id="jctgrid-+-GID++-+" class="jctgrid">
	<div class="jctgrid-gtitle">jCT Grid demo</div>
	<div class="jctgrid-ghead">
	<!---for(var i=0;i<sets.fields.length;i++){-->
	<div class="jctgrid-colwidth index-+-i-+"><div></div></div>
	<!---}-->
	<table cellspacing="0" cellpadding="0" border="0"><tbody>
	<tr>
		<!---var f=sets.display||sets.fields;for(var i=0;i<f.length;i++){-->
		<td><span>+-f[i]-+</span></td>
		<!---}-->
	</tr>
	</tbody></table>
	</div>
	<div class="jctgrid-gbody">
	<!---for(var i=0;i<sets.fields.length;i++){-->
	<div class="jctgrid-colwidth index-+-i-+"><div></div></div>
	<!---}-->
	<table cellspacing="0" cellpadding="0" border="0">
	<thead height="0">
	<tr>
		<!---for(var i=0;i<f.length;i++){-->
		<td></td>
		<!---}-->
	</tr>
	</thead>
	<tbody>
	<!---this.PushView(this.gbody.GetView(sets,rows));-->
	<!---///gbody sets,rows-->
		<!---var fields=sets.fields,nth2n=true;
		for(var i=0;i<rows.length;i++){nth2n=!nth2n;-->
		<tr class="+-nth2n?'nth2n':''-+">
			<!---for(var j=0;j<fields.length;j++){-->
			<td>+-rows[i][fields[j]]-+</td>
			<!---}-->
		</tr>
		<!---}-->
	<!---///gbody-->
	</tbody></table>
	</div>
	<div class="jctgrid-gfoot"><!---this.PushView(this.gpage.GetView(sets,rows));--></div>
	<!---///gpage-->
	<button class="jctgrid-pagefirst">|&lt;</button><button class="jctgrid-pageprev">&lt;&lt;</button>
	<input class="jctgrid-page" type="text"/><span>:100</span>
	<button class="jctgrid-pagenext">&gt;&gt;</button><button class="jctgrid-pageend">&gt;|</button>
	<!---///gpage-->
</div>
</div>
</body>
</html>